//引入request
import request from '@/utils/request.js'


// 添加标签
export const addTag = (params) => {
  return request({
    method: 'GET',
    url: 'tag/add',
    params: params
  })
}

// 删除标签
export const delTag = (params) => {
  return request({
    method: 'GET',
    url: 'tag/delete',
    params: params
  })
}

// 查询用户的所有标签
export const getTag = (params) => {
  return request({
    method: 'GET',
    url: 'tag/get',
    params: params
  })
}